package com.ekuaitu.kuaitu.bean;

import java.util.List;

/**
 * Created by Michael Pi on 2016/12/7.
 */

public class CityDetailBean {


    /**
     * status : 200
     * message : 成功
     * debug : null
     * attachment : {"enclosure":{"id":1,"areaCode":"010","isOnline":1,"cityName":"大北京","isBike":1,"isCar":1,"bikeRangeList":[{"bikeRange":[{"lat":39.459791,"lng":116.206538},{"lat":39.906138,"lng":115.586879},{"lat":40.230177,"lng":116.0892},{"lat":40.171949,"lng":116.118273},{"lat":40.11632,"lng":116.147609},{"lat":40.116452,"lng":116.147622},{"lat":40.116519,"lng":116.147629},{"lat":40.116552,"lng":116.147632},{"lat":40.116568,"lng":116.147634},{"lat":40.116577,"lng":116.147635},{"lat":40.116581,"lng":116.147635},{"lat":40.116583,"lng":116.147635},{"lat":40.116585,"lng":116.147635},{"lat":40.11685,"lng":116.147662},{"lat":40.11738,"lng":116.147714},{"lat":40.117645,"lng":116.147741},{"lat":40.117678,"lng":116.147744},{"lat":40.117694,"lng":116.147746},{"lat":40.117711,"lng":116.147747},{"lat":40.117777,"lng":116.147754},{"lat":40.117843,"lng":116.14776},{"lat":40.11791,"lng":116.147767},{"lat":40.122149,"lng":116.148188},{"lat":40.124269,"lng":116.148399},{"lat":40.125328,"lng":116.148504},{"lat":40.126388,"lng":116.14861},{"lat":40.128508,"lng":116.14882},{"lat":40.129567,"lng":116.148926},{"lat":40.130097,"lng":116.148978},{"lat":40.130362,"lng":116.149005},{"lat":40.130495,"lng":116.149018},{"lat":40.130627,"lng":116.149031},{"lat":40.292988,"lng":116.181917},{"lat":40.229412,"lng":116.299828},{"lat":40.197252,"lng":116.420486},{"lat":40.177525,"lng":116.52574},{"lat":40.157952,"lng":116.591413},{"lat":40.146771,"lng":116.65022},{"lat":40.111802,"lng":116.994771},{"lat":39.851569,"lng":116.923214},{"lat":39.63699,"lng":116.766076}]}]}}
     */

    private int status;
    private String message;
    private Object debug;
    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        /**
         * enclosure : {"id":1,"areaCode":"010","isOnline":1,"cityName":"大北京","isBike":1,"isCar":1,"bikeRangeList":[{"bikeRange":[{"lat":39.459791,"lng":116.206538},{"lat":39.906138,"lng":115.586879},{"lat":40.230177,"lng":116.0892},{"lat":40.171949,"lng":116.118273},{"lat":40.11632,"lng":116.147609},{"lat":40.116452,"lng":116.147622},{"lat":40.116519,"lng":116.147629},{"lat":40.116552,"lng":116.147632},{"lat":40.116568,"lng":116.147634},{"lat":40.116577,"lng":116.147635},{"lat":40.116581,"lng":116.147635},{"lat":40.116583,"lng":116.147635},{"lat":40.116585,"lng":116.147635},{"lat":40.11685,"lng":116.147662},{"lat":40.11738,"lng":116.147714},{"lat":40.117645,"lng":116.147741},{"lat":40.117678,"lng":116.147744},{"lat":40.117694,"lng":116.147746},{"lat":40.117711,"lng":116.147747},{"lat":40.117777,"lng":116.147754},{"lat":40.117843,"lng":116.14776},{"lat":40.11791,"lng":116.147767},{"lat":40.122149,"lng":116.148188},{"lat":40.124269,"lng":116.148399},{"lat":40.125328,"lng":116.148504},{"lat":40.126388,"lng":116.14861},{"lat":40.128508,"lng":116.14882},{"lat":40.129567,"lng":116.148926},{"lat":40.130097,"lng":116.148978},{"lat":40.130362,"lng":116.149005},{"lat":40.130495,"lng":116.149018},{"lat":40.130627,"lng":116.149031},{"lat":40.292988,"lng":116.181917},{"lat":40.229412,"lng":116.299828},{"lat":40.197252,"lng":116.420486},{"lat":40.177525,"lng":116.52574},{"lat":40.157952,"lng":116.591413},{"lat":40.146771,"lng":116.65022},{"lat":40.111802,"lng":116.994771},{"lat":39.851569,"lng":116.923214},{"lat":39.63699,"lng":116.766076}]}]}
         */

        private EnclosureBean enclosure;

        public EnclosureBean getEnclosure() {
            return enclosure;
        }

        public void setEnclosure(EnclosureBean enclosure) {
            this.enclosure = enclosure;
        }

        public static class EnclosureBean {
            /**
             * id : 1
             * areaCode : 010
             * isOnline : 1
             * cityName : 大北京
             * isBike : 1
             * isCar : 1
             * bikeRangeList : [{"bikeRange":[{"lat":39.459791,"lng":116.206538},{"lat":39.906138,"lng":115.586879},{"lat":40.230177,"lng":116.0892},{"lat":40.171949,"lng":116.118273},{"lat":40.11632,"lng":116.147609},{"lat":40.116452,"lng":116.147622},{"lat":40.116519,"lng":116.147629},{"lat":40.116552,"lng":116.147632},{"lat":40.116568,"lng":116.147634},{"lat":40.116577,"lng":116.147635},{"lat":40.116581,"lng":116.147635},{"lat":40.116583,"lng":116.147635},{"lat":40.116585,"lng":116.147635},{"lat":40.11685,"lng":116.147662},{"lat":40.11738,"lng":116.147714},{"lat":40.117645,"lng":116.147741},{"lat":40.117678,"lng":116.147744},{"lat":40.117694,"lng":116.147746},{"lat":40.117711,"lng":116.147747},{"lat":40.117777,"lng":116.147754},{"lat":40.117843,"lng":116.14776},{"lat":40.11791,"lng":116.147767},{"lat":40.122149,"lng":116.148188},{"lat":40.124269,"lng":116.148399},{"lat":40.125328,"lng":116.148504},{"lat":40.126388,"lng":116.14861},{"lat":40.128508,"lng":116.14882},{"lat":40.129567,"lng":116.148926},{"lat":40.130097,"lng":116.148978},{"lat":40.130362,"lng":116.149005},{"lat":40.130495,"lng":116.149018},{"lat":40.130627,"lng":116.149031},{"lat":40.292988,"lng":116.181917},{"lat":40.229412,"lng":116.299828},{"lat":40.197252,"lng":116.420486},{"lat":40.177525,"lng":116.52574},{"lat":40.157952,"lng":116.591413},{"lat":40.146771,"lng":116.65022},{"lat":40.111802,"lng":116.994771},{"lat":39.851569,"lng":116.923214},{"lat":39.63699,"lng":116.766076}]}]
             */

            private String id;
            private String areaCode;
            private int isOnline;
            private String cityName;
            private int isBike;
            private int isCar;
            private int aliPay;
            private int wechatPay;
            private int carBail;
            private int bikeBail;
            private int actCarPrepare;
            private int actUserShare;
            private List<BikeRangeListBean> bikeRangeList;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getAreaCode() {
                return areaCode;
            }

            public void setAreaCode(String areaCode) {
                this.areaCode = areaCode;
            }

            public int getIsOnline() {
                return isOnline;
            }

            public void setIsOnline(int isOnline) {
                this.isOnline = isOnline;
            }

            public String getCityName() {
                return cityName;
            }

            public void setCityName(String cityName) {
                this.cityName = cityName;
            }

            public int getIsBike() {
                return isBike;
            }

            public void setIsBike(int isBike) {
                this.isBike = isBike;
            }

            public int getIsCar() {
                return isCar;
            }

            public void setIsCar(int isCar) {
                this.isCar = isCar;
            }


            public int getAliPay() {
                return aliPay;
            }

            public void setAliPay(int aliPay) {
                this.aliPay = aliPay;
            }

            public int getWechatPay() {
                return wechatPay;
            }

            public void setWechatPay(int wechatPay) {
                this.wechatPay = wechatPay;
            }

            public int getBikeBail() {
                return bikeBail;
            }

            public void setBikeBail(int bikeBail) {
                this.bikeBail = bikeBail;
            }

            public int getCarBail() {
                return carBail;
            }

            public void setCarBail(int carBail) {
                this.carBail = carBail;
            }

            public int getActCarPrepare() {
                return actCarPrepare;
            }

            public void setActCarPrepare(int actCarPrepare) {
                this.actCarPrepare = actCarPrepare;
            }

            public int getActUserShare() {
                return actUserShare;
            }

            public void setActUserShare(int actUserShare) {
                this.actUserShare = actUserShare;
            }


            public List<BikeRangeListBean> getBikeRangeList() {
                return bikeRangeList;
            }

            public void setBikeRangeList(List<BikeRangeListBean> bikeRangeList) {
                this.bikeRangeList = bikeRangeList;
            }

            public static class BikeRangeListBean {
                private List<BikeRangeBean> bikeRange;

                public List<BikeRangeBean> getBikeRange() {
                    return bikeRange;
                }

                public void setBikeRange(List<BikeRangeBean> bikeRange) {
                    this.bikeRange = bikeRange;
                }

                public static class BikeRangeBean {
                    /**
                     * lat : 39.459791
                     * lng : 116.206538
                     */
                    public BikeRangeBean() {

                    }

                    public BikeRangeBean(double lat, double lng) {
                        this.lat = lat;
                        this.lng = lng;
                    }

                    private double lat;
                    private double lng;

                    public double getLat() {
                        return lat;
                    }

                    public void setLat(double lat) {
                        this.lat = lat;
                    }

                    public double getLng() {
                        return lng;
                    }

                    public void setLng(double lng) {
                        this.lng = lng;
                    }
                }
            }
        }
    }
}
